package com.wxw.springcloud.controller;

import com.wxw.springcloud.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wxw
 * @data 2021/1/25 19 :31
 * @description
 */
@RestController
public class FeignController {
    @Autowired
    HelloService helloService;
    @RequestMapping("/web/hystrix1")
    public Object hello() {
        return helloService.hello();
    }
}